package cmms.home.vo;

import java.text.DecimalFormat;

public class PointLogBO extends PointLogVO {
	private static final String ValueSytle = "0.00";

	public String getDisplayX() {
		return getDisplayValue(getX());
	}

	public String getDisplayY() {
		return getDisplayValue(getY());
	}
	
	private String getDisplayValue(long value) {
		DecimalFormat df = new DecimalFormat();
		df.applyPattern(ValueSytle);
		return df.format(((float)value) / 100);
	}
}
